package com.group6.exam.teacher.service;

import java.util.List;
import java.util.Map;

import com.group6.exam.common.entity.PageModel;
import com.group6.exam.common.entity.PaperEntity;

public interface IPageService {

	public PageModel maintain(PageModel pageModel, PaperEntity paper);

	public int deletePaper(String paperId);

	public Map<String, Object> initUpdate(String paperId);

	public int update(PaperEntity paper);

	public List<Map<String, Object>> initType();

	public List<Map<String, Object>> initUserName();

	public int addPaper(PaperEntity paper);

	public String getId(String subjectName);

	public Map<String, Object> getPaperById(String paperId);

	public List<Map<String, Object>> getQuestionsByTypeId(String string,
			String valueOf);
}
